<!--
 * @Description:
 * @Author: Boide
 * @Date: 2021-09-03 17:16:19
 * @LastEditors: guiyi@hongyi.tech
 * @LastEditTime: 2021-09-03 18:19:54
-->
<template>
	<el-card class="box-card">
    <div class="img-box">
      <el-button class="btn-box" type="primary" @click="back">返回</el-button>
      <img class="img" src="@/assets/401_images/401.png" >
    </div>
  </el-card>
</template>

<script>
export default {
  name: 'Page401',
  data() {
    return {
    }
  },
  methods: {
    back() {
      if (this.$route.query.noGoBack) {
        this.$router.push({ path: '/' })
      } else {
        this.$router.go(-1)
      }
    }
  }
}
</script>

<style lang="scss" scoped>
  .img-box {
    width: 100%;
    height: calc(100vh - 84px - 82px);
    display: flex;
    justify-content: center;
    position: relative;
    .btn-box{
      position: absolute;
      bottom: 12%;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 32px;
    }
    .img{
      height: 100%;
    }
  }
</style>
